Block socket creation by host/port in Python.