Fix Caido endpoint HTTPS support

Fixed session manager to use HTTPS scheme when TLS is enabled for the Caido endpoint, instead of always using HTTP.