#73 Factored redundancy out of async network code. Fixed Mac demo.