* Improved HTTPS detection for websites using X-FORWARDED-PROTO
* Added functions for Hanlder::$vars and Handler::$cond
* Improved path_to_url functions
* Minor fixes