Added protected API for WebSocket creation
Merge pull request #238 from paulpdaniels/patch-2

Added protected API for WebSocket creation
watch for selector exceptions.
Merge branch 'master' into spdy