fix #82: read body until eof

see #82 for details