I recently needed a quick way to debug my socket connections. Of course, curl seems like the right tool for the job here so:
$ curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: echo.websocket.org" -H "Origin: http://www.websocket.org" http://echo.websocket.org
Change the urls to your server and you should see some upgrade information as your connection upgrades from http to ws.
Found this nifty little job here: http://www.thenerdary.net/post/24889968081/debugging-websockets-with-curl