Many changes: objectified, replace links in content to point to the proxy.
Redirection via http headers is done via CURL, but the headers returned by CURL are all the headers. Now only the last header is examined. Html links and image references are parsed hopefully corecctly such that any html page loaded causes all links to point back to the proxy script. Mimetype is also extracted from the curl fetch and stored in an instance variable. This mime-type is examined before processing the content of a CURL to ensure we are not examining non-textual data for content changes to point backto the proxy script.
Proxy copies value of inbound 'authorization' query parameter to outbound 'Authorization:' HTTP header.
Added support for POSTing non-form data and arbitrary request methods
Switched from using a query parameter for authorization to a header, so the token doesn't show up in server logs.
Added CORS support (see http://www.w3.org/TR/cors/) and parameterized incoming authz header
fix POST method params not right problem
Add simpler way of whitelisting domains (hate regex)
Add optional caching based on URL and TTL
1. Report errors in cUrl.
2. Add a comment with an option (I've used many times) to Not verify SSL certificates. It's good option for internal usage.
Fixing notices because of missing key values
removed non-standard x-javascript header
bugfix: do not fail on HTTP Response '100 Continue'
$enable_native = true
Merge branch 'master' of https://github.com/stefanhoth/php-simple-proxy

Conflicts:
	ba-simple-proxy.php
Merge branch 'master' of https://github.com/metadaddy/php-simple-proxy

Conflicts:
	ba-simple-proxy.php
remark added (possible issue with  enctype="multipart/form-data" ??)
Merge branch 'master' of https://github.com/nickarnold/php-simple-proxy
Merge branch 'master' of https://github.com/weotch/php-simple-proxy

Conflicts:
	ba-simple-proxy.php
Merge branch 'patch-1' of https://github.com/greenido/php-simple-proxy

Conflicts:
	ba-simple-proxy.php