Update WebSockets detection

Update Websockets detection so that it rejects out of date
implementations with or without prefixes such as in Safari 5.1

Also add related metadata to the test.
Merge pull request #912 from BYK/websocket-update

Update WebSockets detection