Consider ArrayBufferView as binary type
From https://github.com/flowersinthesand/portal/issues/124
Firts set of fixes for #46
Fix pushing from onOpen/onReopen with WebSockets (#48)

The webSocketOpened flag must be set before invoking _open(),
otherwise _pushWebSocket fails.
Clear _request.closed flag when (re)opening (#53)
Merge pull request #52 from jdahlstrom/master

Fix #48 and #53
Fixes #47
[maven-release-plugin] prepare release javascript-project-2.1.0
[maven-release-plugin] prepare for next development iteration
New release
Bump version
Only call onopen after we have ensured that the connection has actually been opened.

Firefox likes to do readystatechange events (0->2) when reconnecting fails but these
attempts have status==0 (as opposed to 200) and should not trigger onopen.

Related to #15, fixes http://dev.vaadin.com/ticket/12492
Merge pull request #54 from Artur-/master

Only call onopen after the connection has actually been opened
Fixes 55
Fixes #56
Final fix for #55
Apply the same for all IE version
Properly encode content-type URL parameter

Fixes http://dev.vaadin.com/ticket/11832

Change-Id: Ic72f5fa38a94064fd74c5ac8cf564a21d7ffe6ba
Merge pull request #57 from Artur-/master

Properly encode content-type URL parameter
Fixes #59
Latest release