fix crypto.Interface back
+ serialization
more WalletProtocol

* lineReceived
* headerReceived
* serviceReceived