Corrected bug with unicast on unix
Added further debugging