Added listening mode

- rewrote network code using twisted framework
- added command line option to listen for incoming calls
- utility functions: usage, optional debug output