N900's sip implementation is FOSS, so it would be better to rather update it with opportunistic encryption support and push to CSSU, than write plugins for 3rd party software (considering how nicely vanilla SIP is integrated with addressbook, conversations, etc). /Estel