Add HeadersSent api.

#134
Matching PRs are coming for WebListener, Helios, Kestrel, and TestHost.
Correct, it's primarily for unit testing.