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.