THRIFT-2376 nodejs: allow Promise style calls for client and server
patch:  Pierre Lamot