fix EndPoint URI erroneously has duplicate hostnames.

EditURI has duplication of hostname. As a result, t/010_crud_entry.t failed.

Note that Merging this pull req breaks backward compatibility.
For example, the case where a developer pass editURI directly to edit method as '/atom/edit/XXXX'. (not through returned value from add method).
I think that this will not pose any major problems in normal usage.