Made parameters const where possible in opentx.client lib