Added SSL support.