Adds basic SSL support. Don't know if it works yet.