Remove ws:// and wss:// protocol