Accept header parsing, wrap-accept ring middleware

Implement accept header value parsing using the bnf notation
from the HTTP spec.