Merge remote-tracking branch 'upstream/master'
Added check for function apache_request_headers (since it isn't available when PHP runs as FPM).
Merge pull request #610 from phansys/master

Added check for function apache_request_headers