Merge pull request #2 from yifan-gu/master

finish packet send and testing
Merge pull request #3 from yifan-gu/master

change multiple arguments to a struct
finish whohas and ihave
add static declaration
Merge branch 'master' of https://github.com/fengjingchao/peer_server
fix ihave with sha1 match;
minor: peerlist 'arr' field is changed to 'peers'
abstract 'addr to Index'
finish parsing ihave packets and sending get
eliminate massive use of addr2Index by passing p_index
Merge branch 'master' of https://github.com/fengjingchao/peer_server
fix gitignore and add basic files-
Merge branch 'master' of https://github.com/fengjingchao/peer_server
add tcp send part and tests