Return socket instance used to connect to IMAP4 server. socket = <instance>.socket()
imaplib/IMAP4.socket
IMAP4.socket