move submodule stuff to the beginning
Remove the domain and protocol from a URL
separate the query string
trim blank space from a line
curl with akamai headers added in