add missing return statements for /url[s]
interpret urls without prefix as http