General serial communication

Support for 0x00 characters.
Merge branch 'serial' into develop