support RFC4770

Signed-off-by: Lehner Florian <dev@der-flo.net>