Locomotive handlers for Primus WebSockets abstraction layer