Update tcp.js

Server function need host parameter for using word wide connection