Add localhost prefix for ext HTTP port on Mono

This commit fixes #135 by detecting whether we're running on Mono
and are bound to loopback, and adding the "localhost" http prefix if
necessary so it works consistently between Windows and Mono.