public void addJettyHandler(@Nonnull final ContextHandler handler)
    {
        if ( handler == null )
        {
            throw new IllegalArgumentException( "Argument 'handler' cannot be null." );
        }

        addJettyHandler(handler.get());
    }
Adds a Jetty handler to be added to the embedded web server that is used to expose Openfire's public
web-bindings (eg: BOSH / HTTP-bind and websocket).

@param handler The handler (cannot be null).
xmppserver/src/main/java/org/jivesoftware/openfire/http/HttpBindManager.java