Keeping a dialog active on the client and server sides

For the lifetime of a dialog, at least one SipDialog or SipClientConnection/SipServerConnection object has to be kept alive both on the client and server sides. This is to ensure that requests, sent inside a dialog, arrive to the client/server side.