Foundations of Python Network Programming