Integrate Thrift into Symfony 2 project