Apart from that, exposing this HTTP-based interface publicly has itsown problems, like security risks and potential DoS risks. If
anything, we should be reducing the attack surface rather than
increase it. IMHO, the only thing that should be exposed in the P2P
protocol, which is inevitable, and already has some DoS protections.
I like this HTTP interface, but it should really only be used for
trusted local applications and debugging.