add SSL support and test SSL program