Minor, but what do you think about just using `{protocol, host} = parseUrl(maybeUrl)` here, just to make line `132` a bit shorter.