Added status code handling to main parse loop