[fix] Merge pusher's sockjs patches, fixes #245