POP3: fix a couple of segfaults