Revert "Correct URL creation for xmlrpc as well as some error checking"

This reverts commit 9ea2463a5b982dff170d7e081b896ca79de19ad7.
Actually let xmlrpc construct the url internally from the passed info it is doing same checks