Added hostname functionality for the server
Slight modifications
Mods