Haskell API to get the Fully Qualified Domain Name (FQDN) of the host