protected function normalizeProxyHeader( $header )
    {
        $header = strtoupper( $header );
        $header = str_replace( '-', '_', $header );
        if ( 0 !== strpos( $header, 'HTTP_' ) )
        {
            $header = 'HTTP_' . $header;
        }
        return $header;
    }