Added SSL code for talking to mySQL database.