Add protocol detection on OSM provider