fix nil pointer dereference in DoResponse

If DefaultClient.Do returns a non-nil error, res will be nil and the program will panic when it's dereferenced.