Socket changes for windows libev
Merge branch '1.2' of https://github.com/triAGENS/ArangoDB into 1.2