socket.io web application that connects to door-server