TCP socket usage + documentation added

based on https://github.com/Mirantis/devops/pull/21 + doc.