Throwing an error on invalid url
Allowing anonymous id's and no id's in a websocket connection