added host name resolution to start_server