Fully upgrade, see "extended descritpion"

* Script completely rewritten
* Added detection list "Content-length:"
* Added alternative to callback parameter
* Added support for detecting max_execution_time
* Added support for "Location:"
* Added detect whether there was "Location:" if the response type 3xx chance the header does not exist, returns error
* Improved response headers from proxy
* Improved validation http/https
* In addition to other improvements when the script was rewritten