data behaviour skeleton for switching socket on receive ready