node trunk support and capnproto optimizations