Fixed socket balancing.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop