code: @Override
  	public Connector createConnector(String address, int port,
  				     String protocol) {
  
          Connector connector = null;
  
  	if (address != null) {
  	    /*
  	     * InetAddress.toString() returns a string of the form
  	     * "<hostname>/<literal_IP>". Get the latter part, so that the
  	     * address can be parsed (back) into an InetAddress using
  	     * InetAddress.getByName().
  	     */
  	    int index = address.indexOf('/');
  	    if (index != -1) {
  		address = address.substring(index + 1);
  	    }
  	}
  
  	if (log.isDebugEnabled()) {
              log.debug("Creating connector for address='" +
  		      ((address == null) ? "ALL" : address) +
  		      "' port='" + port + "' protocol='" + protocol + "'");
  	}
  
          try {
  
              if (protocol.equals("ajp")) {
                  connector = new Connector("org.apache.jk.server.JkCoyoteHandler");
              } else if (protocol.equals("memory")) {
                  connector = new Connector("org.apache.coyote.memory.MemoryProtocolHandler");
              } else if (protocol.equals("http")) {
                  connector = new Connector();
              } else if (protocol.equals("https")) {
                  connector = new Connector();
                  connector.setScheme("https");
                  connector.setSecure(true);
                  connector.setProperty("SSLEnabled","true");
              } else {
                  connector = new Connector(protocol);
              }
  
              if (address != null) {
                  IntrospectionUtils.setProperty(connector, "address", 
                                                 "" + address);
              }
              IntrospectionUtils.setProperty(connector, "port", "" + port);
  
          } catch (Exception e) {
              log.error("Couldn't create connector.");
          } 
  
          return (connector);
  
      }
docs: /* (non-Javadoc)
  @see org.jboss.arquillian.container.mobicents.servlet.sip.embedded_1.MobicentsSipServletsEmbedded#createConnector(java.lang.String, int, java.lang.String)