removed use of OpenSSL::SSL::VERIFY_NONE and some old obselete jerm code

unsafe security wise, and we should find a better way if we need to deal with self-signed certificates
removed a record_body from tests
fixes to unit tests