isLoopbackWebSocketUrl

Whether url's host is this machine, which browsers let a secure page reach over ws://.