allow cert_reqs to be a string and convert it to the appropriate SSL constant.