Using the following code:
HttpListener listener = new HttpListener(); //listener.Prefixes.Add(\"http://*:80/\"); listener.Prefixes.Add(\"http://*:8080/\"); l
I would consider looking into this package http://www.nuget.org/packages/Microsoft.AspNet.WebApi.OwinSelfHost/ It uses HttpListener under the covers and with the WebApi HttpMessageHandler it is very easy to create a proxy.