Squashed commit of the following:

commit 1d258bcc36e655c3af49ebde4c3f3df6c7a2c515
Author: TAGOMORI Satoshi <tagomoris@gmail.com>
Date:   Thu Jan 9 17:12:01 2014 +0900

    re-fix to read/write binary handle data

commit 8715e41df38411f0d65946a8b1a09f6c0b90cd36
Author: TAGOMORI Satoshi <tagomoris@gmail.com>
Date:   Thu Jan 9 17:05:18 2014 +0900

    add "var " for file local declarations

commit 08626a9d9052a6a9483c3d79b1f46f5119fb3a35
Author: TAGOMORI Satoshi <tagomoris@gmail.com>
Date:   Thu Jan 9 16:58:16 2014 +0900

    generate w/ thrift 0.9.1

commit d189c260cb101a0e96d66b6472293acf2e5a3ade
Author: TAGOMORI Satoshi <tagomoris@gmail.com>
Date:   Thu Jan 9 16:20:56 2014 +0900

    Add checks
     * integer 0 and string "" are false in javascript
     * 0 and "" are not sent correctly w/ original version of code
add engine hiveserver2