Revert "Merge pull request #341 from NICTA/topic/thrift-serialiser-thread-safe"

This reverts commit 7005ef5b46344b6957795d0217d8dede045cf1c4, reversing
changes made to c9d3fefc1d79298288ad8cd70a81a3d78c35b9a0.
Revert "Merge pull request #335 from NICTA/topic/thrift-wire-format"

This reverts commit e9b295cdb918f65b27568a069851926cf4fb6351, reversing
changes made to b80427e4888de1527e8057e4f1746238fccd577c.
added a wire format for Thrift. fixes #341