cleanup
(cherry picked from commit 7d0499b)
JstdServerUtils — use HttpRequests
(cherry picked from commit d014ead)
extract HttpRequests.getReader
(cherry picked from commit 2361c71)