Fixes request format qvalue parsing (#406)

Ignores invalid qvalues sent in the `Accept` field. In addition to
fixing the index exception noted in #406, qvalues outside the 0..1 range
specified in the HTTP RFC are now ignored as well.
Merge pull request #408 from rjz/fix/accept-header-checking

Fixes request format qvalue parsing (#406)