Changed bind() == -1 check to INVALID_SOCK check
Merge branch 'master' of https://github.com/Astonex/ProjectTox-Core