Added header handling functions on request context
Merge remote-tracking branch 'origin/master'