Initializing websocket server