Http Abstractions for parsing Http headers needed for conneg

Moved from http abstractions.
This is throw away code, don't want to spend too much time beautifying it.