remove unused endpoint's code in remoting; change endpoint using channelhandler
add endpointchannelhandler impl and connect/ack
finish identity/token usage and sendsync
update test, todo:rewrite tests