THRIFT-1191

client: erlang
patch: alisdair sullivan

test case for thrift-1191