add peer_set_bit() to peer.c and peer.h

used by bitfield to set the bitmap