Update OnDaemonRun.hook.php to include automatic redirect to default port.