Fixing issue with using apache_request_headers(), which only works with
certain server configs.  Replaced with a more generic
parseRequestheaders() helper.