termjs boilerplate with more resilient and mature socket.io 1.0