differentiate between incoming and outgoing connections in log messages