Fix NPE when no service handler exists.

There should rarely happen in practice as we add service handlers for
all but the secure channel services, which are handled at a lower layer.