implemented handle_bitfield_msg() in create_messages