Uncomment ip address check in websocket code