Update `PreRequestHook` signature to `func(cl *Client, r *http.Request) error` refer to https://github.com/go-resty/resty/pull/207#issuecomment-451732759