@Override
protected ServerConnection createServerConnection(final InputStream input, final OutputStream output,
final ServerFacade distribution) {
final SimpleTransport transport = new SimpleTransport(getConfiguration(), input, output);
final XStreamMarshaller serverMarshaller = new XStreamMarshaller(getConfiguration(), transport);
try {
serverMarshaller.connect();
} catch (final IOException e) {
throw new ConnectionException(e);
}
return new ServerConnectionDefault(distribution, serverMarshaller);
}