Add creation of HTTPS listener with self-signed certificate, create test