open fun endpointHandler(handler: Handler<MqttEndpoint>): MqttServer
Set the endpoint handler for the server. If an MQTT client connect to the server a new MqttEndpoint instance will be created and passed to the handler
handler - the endpoint handler
Return
a reference to this, so the API can be used fluently