API doc patch

Added how to make another socket and reuse socket
in order to connect another server.
Ref: Issue #4698