utility method for web client header parsing in Tx