[RestResourceServer] Allow empty hostName & ipAddress when the server type doesn't require them