encode transport control