Fixed bug that stopped X-Headers from being send