Added URI transforming to cleanly support HTTP-RPC