Simplified http proxy for cross domain requests. Should help #175 and #74.
Also rewrite the location head in case the target sends one.