Improve import time of :mod:`socket` by lazy importing modules and
writing :data:`!socket.errorTab` as a constant.