// set up connection to server
String host = args[0];
int port = Integer.parseInt(args[1]);
final Parser parser = new PipeParser();
LowerLayerProtocol llp = new MinLowerLayerProtocol();
Connection connection = new ActiveConnection(parser, llp, new Socket(
host, port));
final Initiator initiator = connection.getInitiator();
connection.activate();
final String outText = "MSH|^~\\&|||||||ACK^^ACK|||R|2.4|\rMSA|AA";