docs: public void addConnection (Connection connection) {
  		if (connection == null) throw new IllegalArgumentException("connection cannot be null.");
  
  		synchronized (connectionsLock) {
  			Connection[] newConnections = new Connection[connections.length + 1];
  			newConnections[0] = connection;
  			System.arraycopy(connections, 0, newConnections, 1, connections.length);
  			connections = newConnections;
  		}
  
  		connection.addListener(invokeListener);
  
  		if (TRACE) trace("kryonet", "Added connection to ObjectSpace: " + connection);
  	}