Added SSL support. (experimental)