refactor: simplify `relayAddr` code

All the removed things can be substituted with native URL.
Also bump Node in CI configs to 10, where URL is available
on the global object
1 job for no-custom-url-manipulation-code in 27 seconds (queued for 1 second)
latest