Cursor support and addHeader().
Merge pull request #72 from philsturgeon/feature/cursor-support

Cursor support and addHeader().