support for RFC5541 and 5557