fix bug in peer sendData
Merge remote-tracking branch 'aam/master'
Merge pull request #11 from iantocristian/master

bug fixes