Networking utility functions for Go.