Fixed an off-by-one issue in convertBitfieldToByte. Implemented cont->peer HavePiece.