fixed issue with ssl connect error. issue nr 10