Asking for recommendations. I want an object on which I can specify a port to listen to, provide the server keys somehow, leave accepting connections, and preferably provide some helpers for parsing HTTP headers, and construct HTTP responses. No need to handle the request/response bodies, I can deal with opaque blobs.
Oh, and a .NET HTTPS client would be fine too.
…OK, OK, I’m accepting suggestions of non-free solutions too. But open-source is preferred.
You can roll your own quite easily:
System.Net.HttpListener Class
HttpListener basics
Modifying for https(Note article is dated when this class was introduced)