Add support for dynamic headers.  Fixes #67