specify PartialFunction[RequestBinding, SocketIntent]
By default, when a websocket handler passes
it writes an Http Forbidden response
to the channel in DefaultPassHandler.
By default, when a websocket handler passes
it writes an Http Forbidden response
to the channel in DefaultPassHandler. To override this behavior, call this method
with a function to handle the ChannelEvent with custom behavior
specify PartialFunction[RequestBinding, SocketIntent]