NewOption
In all other places we use `Option` as `func`, there is no need in additional indirection. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Also, remove deprecated methods and types. Close #60. 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>