The service->protocol->listener was never initialized in serviceAddProtocol and caused a crash if the listener was not started.
The service->protocol->listener was never initialized in serviceAddProtocol and caused a crash if the listener was not started.