Adding new proxy header parsing function and tests