RDKTV-28081 : [SocketPort] Close half-way open sockets

Reason for change:
1.[SocketPort] Gracefully shutdown connection
2.Ensure the socket is closed even if the other side is not reachable
3.Shutdown both, but listen for RDHUP as well
4. Just reuse the Close method
Test Procedure: verify using Jenkins build
Risks: HIGH
Change-Id: I89b3ca46bf0ebdeb5e106d0f013b579a1471f69d
Signed-off-by: Thamim  Razith <tabbas651@cable.comcast.com>
(cherry picked from commit 8b70ada654ffbf74438fd349dad48f8f589fd075)
2 files changed