parse_url: add missing scheme unless url begins with '/'