break out settings and do SSL stuff