updated docs, fixed getRequestHeader, closes #9