bpo-37363: Add audit events for a range of modules (GH-14301)

(cherry picked from commit 60419a7e96577cf783b3b45bf3984f9fb0d7ddff)

Co-authored-by: Steve Dower <steve.dower@python.org>
diff --git a/Lib/poplib.py b/Lib/poplib.py
index 9796f0d..ced0a2d 100644
--- a/Lib/poplib.py
+++ b/Lib/poplib.py
@@ -16,6 +16,7 @@
 import errno
 import re
 import socket
+import sys
 
 try:
     import ssl
@@ -99,6 +100,7 @@
         self.host = host
         self.port = port
         self._tls_established = False
+        sys.audit("poplib.POP3", self, host, port)
         self.sock = self._create_socket(timeout)
         self.file = self.sock.makefile('rb')
         self._debugging = 0
@@ -109,6 +111,7 @@
 
     def _putline(self, line):
         if self._debugging > 1: print('*put*', repr(line))
+        sys.audit("poplib.POP3.putline", self, line)
         self.sock.sendall(line + CRLF)