check info_hash
use types for hash_info and peer_id
move peer functions to peer.go
check info_hash
fix log messages
lock
connect to self