ipv6 fixes for httplistener
style cleanup
Merge pull request #434 from mcguinness/master

Fix for IPv6 UserHostAddress parsing with HttpListener AppHost on a custom port (e.g. 8080)