Http Abstractions for parsing Http headers needed for conneg

Moved from http abstractions.
nit: `var parameters` as this can apply to content-type header too