Convert curl to a Go program with net/http: real output, a DELETE example, timeouts and closing the body.