support for SSL in agents