simple socket server\/client in conversation + writing into log file