Remove unused code forcing "ws" for web sockets