Use `EncodeToString` method to get protocol string according to type docs. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
ID
Address
This is done to prevent import cycles when `object` package needs any other that requires `object.ID` or `object.Address`. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>