add -body argument to fetch BODY and prevent infinite loop on unexpected EOF