Adding status code parsing