Adding debug for HTTPS requests.
Adding better debug