Improved SIP Contact comparison.

This patch implements the SIP Contact comparison as it was -apparently- meant to be.
Includes a unit test.

Please review and commit.

Hope this helps,
    Tom.