dump ip and port for sockets where relevant, tweak some stuff