buildURI client resource = nullURI {
    uriScheme = "http:",
    uriAuthority = Just URIAuth {
        uriUserInfo = "", uriRegName = host client, uriPort = ":" ++ (port client)
    },
    uriPath = "/rest/" ++ resource
}
buildURI client resource = nullURI {
    uriScheme = "http:",
    uriAuthority = Just URIAuth {
        uriUserInfo = "", uriRegName = host client, uriPort = ":" ++ (port client)
    },
    uriPath = "/rest/" ++ resource
}
buildURI client resource = nullURI {
    uriScheme = "http:",
    uriAuthority = Just URIAuth {
        uriUserInfo = "", uriRegName = host client, uriPort = ":" ++ (port client)
    },
    uriPath = "/rest/" ++ resource
}