Frame: explicitly stringify $payload in _mask() method. Otherwise if $payload looks like a number, the ^ operator is recognized as numeric XOR, not as bitstring XOR.
Merge pull request #25 from debug-ito/master

Bug fix: Frame could not mask the payload correctly if the payload (buffer attribute) looks like number.