Renamed config option renameip to renamehost, allowing the use of a hostname instead of ip, silenced some compiler warnings