OutputStream os = s.getOutputStream();
//Send client connection header
ClientConnectionHeader cHeader = new ClientConnectionHeader();
cHeader.send(os);
//Receive ServerConnection header and verify format
ServerConnectionHeader sHeader = new ServerConnectionHeader();
try {
sHeader.receive(is,getTimeout());
} catch (ProtocolException e) {
e.printStackTrace();
throw new TestException(e.getMessage(),e);
}
//Make a remote call that returns something