example using thrift generated code with a WSGI server and ios app