refactored JS API , BinaryMessge fix and more

Recfactoring of the Js API, Example shows how to share binary data using
dataChannels and XSockets.BinaryMessage that combines arbitrary objects
and arrayBuffers