fix missing ssl hostname validation #39 #38