Make all mutable fields in WebSocketClientHandshaker volatile

- Fixes #1945