Bug 878150 - Make port 0 default for mozhttpd and add method to get the URL;r=jhammel