added method Peer.isConnected()
new getter: Peer.getId()
Merge pull request #38 from MatthiasLohr/master

new method Peer.isConnected() and Peer.getId()