Basic POP3 library written for a school project