Extracting cellular socket ID from TLSSocket

Yet another time the abstraction and encapsulation in Mbed is driving me crazy. I need to implement additional AT commands for my cellular modem. I am constructing a TLS Socket using the NetworkInterface, which in turn constructs its cellular stack and so on. After connecting the socket, I need to access its ID to implement my custom AT commands, but there seems to be no way to extract the socket ID, which is a private member somewhere in the stack. Please dear maintainers, if you encapsulate such variables, make it possible to retrieve them using getters!

Hi

if adding a getter is something you have a use case for then please consider adding a pull request to provide one and we will certainly take a look at it.

Regards
Anna