Add secure flag, URL into request spec object, and make it available to URL translation function for convenience