Added -shouldAcceptRequest:

In my case, I'm using it to restrict WebSocket connections to a known origin.