Don't rewrite URI with a defined protocol (ie http(s) or data) Use the node `url` module to parse the URI