get rid of some debug stuff, fix SSL opts