allow larger blocks for headers
better way to handle output-stream, which is gone