added reverse-proxy ttl handling
cleanup
updated doc headers
updated phpdoc
fixed typos
Merge branch 'feature/reverse-proxy-ttl' into develop