core: Include the request hostname in a dispatch rewrite notification
(cherry picked from commit a8eaa14a6af3cbeb0840eb6bc8f11205565101a0)