Framework for capturing and inject network packets using Python