Modified to parse body as well as headers, created several new members in Request object, and changed interface of getResponse