private Map<String, List<String>> readHandshake(WebSocketInputStream input, String key) throws WebSocketException
    {
        return new HandshakeReader(this).readHandshake(input, key);
    }
private Map < String , List < String > > readHandshake ( WebSocketInputStream input , String key ) throws WebSocketException { return new HandshakeReader ( this ) . readHandshake ( input , key ) ; }
Receive an opening handshake response from the WebSocket server.