Port topoh.so (topology hiding without dialog.so) from kamailio.

See the three commits. The changes were trivial.

I don't know about copyright and stuff though.