Move onData handler to TCP server.
Change error handling and display in socket_chrome.js
for socket close, don't treated as error.
Merge pull request #14 from uProxy/sword2

Sword2