Added getallheaders alternative
Merge pull request #2 from grachov/master

Added getallheaders alternative