Issue #275: Fixes SPWebSocketChannel crash