only allow ws:// on testnet.