easier to build websockethandlers