Fix Console port handling behind a reverse proxy.

If Mule is run behind a reverse proxy on a different port than on the reverse
proxy the console application will not work as it presents the Mule port
(instead of the reverse proxy port) to the browser.

This patch uses the __BIND_ALL_HOST__ mechanism to also set the port to the
requested / reverse proxy port in the console page.
Replace the port portion of the URL if present.

Should handle the cases where the port is not specified in the flow configuration or the host header field.