Revamping SSL Stuff

Revamped SSL stuff, should allow for a nice easy launch of the client