1. A method for obtaining service directory information for a remote service, comprising: sending, via a network interface, a service endpoint query to a remote service, the service endpoint query requesting a directory of locations within the remote service; receiving, via the network interface, a service endpoint response from the remote service in response to the service endpoint query when the service endpoint query is successful, wherein the service endpoint response includes: a directory length field that indicates a number of directory entries; one or more directory entries indicating one or more locations with the remote service, wherein the number of directory entries is indicated by the directory length field; and a message tag that indicates a message type; and connecting, via the network interface, to a remote resource indicated by a directory entry of the one or more directory entries.