Wrap websockets and transparently add namespacing