Current native Websocket implementation returns `wasClean: false` and `code: 1006` when wrong url is provided. https://github.com/thoov/mock-socket/blob/eab4bf59ab83298ee42a21fc535a369432fe22c6/src/websocket.js#L94