Added definitions for XSockets.net.
Merge pull request #1713 from pushplay/master

Added definitions for XSockets.net JSAPI.