fix connection sockname/peername