Fix warnings in sockets-provider (Fixes #427)

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

Fix warnings in sockets-provider (Fixes #427)