Modifies CommChannel to add a constructor that handles IP.
Fixes bug in WriteDeviceStateRequest decoding.
Merge branch 'unstable' into complex_ab_rules