This is done as simply as adding the following to the httpd.conf:
<VirtualHost *:8365>
RedirectMatch permanent ^(?:/.*)?$ https://IP.AD.DRE.SS:8366/$1
</VirtualHost>
NOTE: Do not use RewriteCond/RewriteRule since mod_rewrite is not turned on within Cortex.
Otherwise you can just use the normal HTTP->SSL Redirect rules.
Also, please do not forgot that this MUST be in a VirtualHost block otherwise Apache will loop into itself.