fix encodePayloadAsBinary method encodes packets to base64
Merge pull request #12 from nkzawa/patch-0

Fix encodePayloadAsBinary method encodes packets to base64