[ticket/12831] Opt to prevent setting HTTP headers

https://tracker.phpbb.com/browse/PHPBB3-12831