Fixed a lot of bugs

PeerState contains bitfield now, bitfield filled by bitfield messages
A lot of incorrectly implemented messages fixed