Wrap tls_t.get_{server,peer}_id methods in tls_socket_t