fixed bug on routing when parsing application/json valid headers
Merge remote-tracking branch 'upstream/master'