add sock get peer interface