add comments for setChannelHandler
make websocket code clear
update doc
refact remoting send/call, add remoting protocol
update flag