gabrielbull/php-websocket-client — pull request #2 by maxpowel (2014-09-05 10:40:48+00:00)
Title: Added origin option

Some servers (like ratchet) reject connections when origin is null. I just added the option to specify the origin or null if not specified (you can set it in the constructor and using the setter).

Code written with previous commits doesn't notice this change since the string "null" is used when no origin specified (before this pull request the origin was always "null")