A partial smtplib,poplib and imaplib(2) reimplementation adding SOCKS support and highlevel interface