Added a basic url validation for sam_uri