Replaced AndroidAsync lib by AutobahnAndroid. Fixed onclose event. Added onerror event. Fixed send errors when readyState isn't OPEN.