Converted TX to use sockets rather than streams, multiplexed via select(2). RX command pump now uses -1 for error, as opposed for 2, which will be used for future commands. NOTE: use #defines in commands.h to provide command numbers, rather than magic numbers.