Added http response parsing