New method to set on/off data connection.

Used in tests, but it's going to be used in the near future when
blocking data connections until EIP is on.