allow page size to be passed in header
Merge pull request #1 from stevewillcock/master

allow page size to be passed in header and set encoding to utf-8