If a websocket application doesn't wish to impose any special constraints on the
handshake it doesn't have to do anything in this method and all handshakes will
be automatically accepted.
The return value from onHandshake() invocation (which may be the eventual generator
return expression) is passed as the second parameter to onOpen().