THRIFT-2644 Haxe support

Client: Haxe
Patch: Jens Geyer