ConnectionEndpoint connection_endpoint = new ConnectionEndpoint( remote_address );
connection_endpoint.addProtocol( new ProtocolEndpointTCP( remote_address ));
com.aelitis.azureus.core.networkmanager.NetworkConnection core_conn =
NetworkManager.getSingleton().createConnection( connection_endpoint, new MessageStreamEncoderAdapter( encoder ), new MessageStreamDecoderAdapter( decoder ), false, false, null );
return new ConnectionImpl( core_conn );