log socket connection