TS-898: clear socket address before use

Coverity #1196477