changes of getURL and getRedirect

no getAMF necessary anymore because it's included in getURL
also the handling of additional headers is changed ---> use a dict to
pass them to getURL or getRedirect