Speed up deserialization
Merge pull request #126 from square/rice/wire_speedups

Speed up deserialization