Fix resolving UIDs for POP3 servers