Add callback for server connect. Start ssl cert management