What's the usecase for a localhost relay?
Tor relays most ws:// , also impossible to add https://github.com/0xtrr/onion-service-nostr-relays
Discouraging ws:// is good. Communication should always be encrypted.