add headers method
add tests for headers()
add readme for headers()
add json parsing guard to test
Merge pull request #133 from imsky/headers

Add headers method