If you know the headers will be in ascii space use binary encoding.