Attempted to gracefully handle network issues
Updated networking to use NIO
Restructured networking to use NIO
Updated devices to play nice with the new networking
Merge pull request #8 from mattforni/master

Updated networking to use NIO