proxy headers to api handlers