Added handshake related methods to TorrentSocket. Still needs testing
changes a test
class stuff