How to get the device/host Name on client server

See ‘Resolve Client Hostnames’, introduced in 8.1.10:
https://docs.inductiveautomation.com/display/DOC81/Web+Server+Settings