There is only one URI used to determine what to connect to, and what request to send.
For a unix domain socket, you have a path to the socket, but when sending the HTTP request we should send it to /json, do_it in should take 2 URIs: one for connecting, and another relative one to send the request to.