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>
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Change `Marshal` signature to `Marshal() ([]byte, error)`. Dependency update in SDK itself should be done after moving client as `pool` package has some dependent function signatures. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>