Fix incorrect urls in WebSocket tests.

Replaced location.hostname with "127.0.0.1", as it was empty,
what lead to invalid urls.
Merge pull request #555 from jizydorczyk/XWALK-2204

Fix incorrect urls in WebSocket tests.