Adding default endpoint url building strategy by Xaviuzz and jrhuerta