protected ServerConnectionDefault createServerConnection(final InputStream input, final OutputStream output,
final ServerFacade serverFacade) {
final SimpleTransport transport = new SimpleTransport(getConfiguration(), input, output);
final EncodingMarshaller marshaller = new EncodingMarshaller(getConfiguration(), transport);
try {
marshaller.connect();
} catch (final IOException e) {
throw new ConnectionException(e);
}
return new ServerConnectionDefault(serverFacade, marshaller);
}