Import only specific needed methods from helper modules
Determine server ip address via socket commands
Rather than reading from config, which could get mixed up.
May not do the right thing on systems with multiple network interfaces. In that case, the server ip should be set manually after all.
Read server settings from config file.
Config loader needs to do more validation/error handling.