Switch to rest_get_server()
for compat with trunk
#6474
Merged
rest_get_server()
for compat with trunk
#6474