Delete kNet server listen sockets properly so that the server can be stopped and restarted. Closes #480.
For Travis CI - switch CI build to use OS X build environment.