Robustisize the binary WebSocket detect. Fixes #370