[#921] Fix NPE which can be thrown on bad-timing when using WebSocketClientHandshaker07