add thrift server handle
add thrift server