Add option to disable web sockets.