Cleanup socket abstraction for different OSes.
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding