More defense against lost commands: process input until all read bytes are exhausted. Fixes gh-27

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
More memory cleanup on reset connection

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Remove junk whitespace

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
General cleanups

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Use symbolic names
Network -> WiFi

https://github.com/spark/core-firmware/commit/f4f96bac498cfc7723f58a79790f522e451785fa
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>