Hostname Fix

After some debugging with Dom on problems with local development, these look like the two main fixes needed.

Note: Skype still causes issues because it listens on both port 80 and port 443 by default (seriously, Skype?), so if you still have trouble, turn that setting off in Skype (under Advanced > Connections).