parse the version and status in http responses