For every peer expose through `getpeerinfo` RPC whether or not we selected them as HB peers, and whether or not they selected us as HB peers.

Suggestion by @gmaxwell.
d;
    uint64_t nRecvBytes;
    mapMsgCmdSize mapRecvBytesPerMsgCmd;
    NetPermissionFlags m_permissionFlags;
    bool m_legacyWhitelisted;
    int64_t m_ping_usec;
    int64_t m_ping_wait_usec;
    int64_t m_min_ping_usec;
    CAmount minFeeFilter;
    // 
    std::string addrLocal;
    // 
    CAddress addr;
    // 
    CAddress addrBind;
    // 
    std::string m_network;
    uint32_t m_mapped_as;
    std::string m_conn_type_string;
};
/** Transport protocol agnostic message container.
 * Ideally it should only contain receive time, payload,
 * command and size.
 */
class CNetMessage {
public:
    CDataStream m_recv;                  //
    std::chrono::microseconds m_time{0}; //
    uint32_t m_message_size{0};          //
    uint32_t m_raw_message_size{0};      //
    std::string m_command;
    CNetMessage(CDataStream&& recv_in) : m_recv(std::move(recv_in)) {}
    void SetVersion(int nVersionIn)
    {
        m_recv.SetVersion(nVersionIn);
    }
};
/** The TransportDeserializer takes care of holding and deserializing the
 * network receive buffer. It can deserialize the network buffer into a
 * transport protocol agnostic CNetMessage (command & payload)
 */
class TransportDeserializer {
public:
    // 
    virtual bool Complete() const = 0;
    // 
    virtual void SetVersion(int version) = 0;
    /*
    virtual int Read(Span<const uint8_t>& msg_bytes) = 0;
    // 
    virtual Optional<CNetMessage> GetMessage(std::chrono::microseconds time, uint32_t& out_err) = 0;
    virtual ~TransportDeserializer() {}
};
class V1TransportDeserializer final : public TransportDeserializer
{
private:
    const CChainParams& m_chain_params;
    const NodeId m_node_id; // 
    mutable CHash256 hasher;
    mutable uint256 data_hash;
    bool in_data;                   // 
    CDataStream hdrbuf;             // 
    CMessageHeader hdr;             // 
    CDataStream vRecv;              // 
    unsigned int nHdrPos;
    unsigned int nDataPos;
    const uint256& GetMessageHash() con