Used replace package for websocket-server

Since websocket-server is no longer available