modify route configuration style for socket.io to allow customization of authorization per namespace