Implementation of Thrift runtime in Swift