Using some of the new sockets-portability macros to clean up code a little.
Using some of the new sockets-portability macros to clean up code a
little.

suryasundarraj/c-core,pubnub/c-core,suryasundarraj/c-core,pubnub/c-core,pubnub/c-core,pubnub/c-core