Fix support of the X-Forwarded-Proto header for fastcgi.