add prototype of nodejs web socket server