code: public HttpListener addListener(InetAddrPort address)
          throws IOException
      {
          HttpListener listener = new SocketListener(address);
          listener.setHttpServer(this);
          _listeners.add(listener);
          addComponent(listener);
          return listener;
      }
docs: Create and add a SocketListener.
  Conveniance method.
  @param address
  @return the HttpListener.
  @exception IOException