Fix a bug in HttpPostRequestDecoder where character encoding is ignored when reading a line

- Fixed #992 (backported from 3)
  - 9650cda163e0266a0f42495dc9201617e2a1f410
  - b38bde2d2b7e4ab99844e3018ebfd9f61c7028de