Merge pull request #3 from m1ch1/master

Add expiry.
Refactor command serialization.