Moved ClientConnectionProtocol to a java library