See blog post
TODO: investigate -f option when start Thrift2.
Use framed transport, This transport is required when using a non-blocking server. It sends data in frames, where each frame is preceded by length information. Node.js is no-blocking server, we must use "-f" option, or connection lost.