In some cases, a node can be null.

Please, see commit 5127800 on Hoa\Websocket.