added back SSL check
version 1.1.7