Networking code in Go for virtd