starting on the ssl conn stuff, not working right yet