Fix warnings in Sockets Provider (Issue #427)

Signed-off-by: Jithin Jose <jithin.jose@intel.com>
Merge pull request #428 from jithinjosepkl/pr/sockets

Fix warnings in Sockets Provider (Issue #427)