code: protected Connection createConnection(Socket socket, InputStream inputStream,
  			OutputStream outputStream) throws IOException {
  		return new Connection(socket, inputStream, outputStream);
  	}
docs: Factory method used to create the {@link Connection}.
  @param socket the source socket
  @param inputStream the socket input stream
  @param outputStream the socket output stream
  @return a connection
  @throws IOException in case of I/O errors