fixed some problems in sqimap_read_body(). Please test it out.