Doc enhancements
Previous getAllHeaders impl was completly broken.
I wrote test case. I should test case first...