Removing usage of net.Conn