socket helper - added listen wrapper