Temporary fix to support PHP proxy

@markewallace - Hi Mark. Here the temporary fix that we discussed earlier (i.e. added endpoint name to the header).