Adapt security-server for a new libsmack API