[ticket/12831] Optn to prevent setting HTTP headers

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

PHPBB3-12831