Ssl support

Quick and dirty SSL support. I tested this out on my Mac. Hope you like it!