Added a check for host SSL verifcation, tested with mitmproxy