refactoring to move common logic between client and server to common class; udp client fixes
Merge branch 'master' of github.com:sergeyzavadski/libpropeller