Getting peer's public key on libp2p

I’m using libp2p with SECIO in the browser and successfully getting connections and dialing to other peers. However, libp2p doesn’t expose these peers pubKey to my application, even though it has already gotten access to it in the SECIO connection negotiation.

I believe the problem is that at his .setInnerConn call is ignoring the peer data it could be using and just setting the raw connection on

What am I missing here?