a simple chat client use swift socket