Sword2

Somehow the change in socket_chrome was lost. This change add that back. It also changed the way how onData is handled. Instead of handling it in socket level, now it is done in TCP server level.