Parse a string representing an IP address, port, Windows named pipe, or Unix domain socket into a data that can be passed to the listen method of an net, http, or https server.