mod_development: fix problem where the dispatch-debugging interfered with ssl connection redirects.

(cherry picked from commit c8d1ddba76818efebd87951779b4235ba75d225c)