in reply to CGI with SSL support

You might want to try HTTP::Daemon::SSL, or better yet, switch to Plack