Expose GetIP and SendToIP. Various bugfixes. Added benchmarks for leafset.