Merge pull request #11 from binlain/master

Fix length calculation when encoding as binary
fix encodePayloadAsBinary method encodes packets to base64
Release 1.0.3
Merge pull request #12 from nkzawa/patch-0

Fix encodePayloadAsBinary method encodes packets to base64
Release 1.0.4
Bump zuul version
Merge pull request #15 from rase-/bump/zuul

Bump zuul version
added MIT license file and updated readme
package: bump `base64-arraybuffer` to `0.1.2`
Encode strings with utf8.js to support multibyte strings
Merge pull request #16 from get/license

Add MIT license file and update readme
Merge pull request #17 from lpinca/update/base64-arraybuffer

package: bump `base64-arraybuffer` to `0.1.2`
Merge pull request #19 from rase-/quirky-strings

Encode strings with utf8.js to support multibyte strings
Don't pass too many arguments

`.apply()` has a max argument length which was easily exceeded by a large buffer. This makes more calls to `String.fromCharCode` but is guaranteed not to throw a `RangeError`.

More on max argument size: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply#Using_apply_and_built-in_functions
Merge pull request #20 from joeybaker/patch-1

Don't pass too many arguments
Release 1.0.5
Merge pull request #1 from Automattic/master

....