[FIX] Ensure that the URL requested does not contains '//' when building it (e.g. http://localhost:8069//jsonrpc)