Use textproto for client side response code checking