public function createNetworkConnection(SocketInterface $socket) { return new NetworkConnection($socket); }