Clone of apache thrift for easier go get