Merge pull request #85 from justinsb/match_service_by_type_not_name

Support matching by type in the service catalog
diff --git a/context.go b/context.go
index ebad36c..21d0ae0 100644
--- a/context.go
+++ b/context.go
@@ -2,6 +2,7 @@
 
 import (
 	"net/http"
+	"strings"
 )
 
 // Provider structures exist for each tangible provider of OpenStack service.
@@ -92,6 +93,12 @@
 			return descriptor, nil
 		}
 	}
+	if strings.Contains(name, "://") {
+		p = Provider {
+			AuthEndpoint: name,
+		}
+		return p, nil
+	}
 	return Provider{}, ErrProvider
 }