Improved parsing of POP3 headers