ALLJOYN-1772: Check for winsock initialization

Change-Id: I0ad9c1c59b20106d739cd3320b53d19b9ecd7302