use standard flavour for tests
add escape chars support
support ending headers with #