Port of Microsoft.Owin.Host.HttpListener to use the HttpListener from Mono.