getHeader() should be cached for performance on subsequent calls

Closes #9