Add server version config
Add socket bind error checking
Replace hardcoded server version with version from . Remove declaration of  (no point in declaring it if we're going to get the real IP right after)