Fix warnings in sockets-provider (Fixes #427)

Signed-off-by: Jithin Jose <jithin.jose@intel.com>