Building communications system; cleaning up code

This system is becoming a communications system. We’re logging all
calls in a database, as well as the messages between clients. For now
we’re deleting old SDP messages, though anybody viewing this code could
easily change that.