bugfixes (see ext descr)

- the daemon now resets the peer if there is a new com request (fixes
nonce verification issue if one peer connects twice before the daemon
freed the first connection
- fixed a segmentation fault occuring when the daemon freed peers
cleanup

- removed some debug stuff