websocket.js: Clear the queue after processing it
websocket.js: Clear the queue after processing it

We don't handle reconnects and such yet, but it's nice to clean up
after ourselves anyway.

azurestandard/angular-websocket-service,wking/angular-websocket-service