move from tcp server to sockjs server