Network communication improved. Now with non blocking recv