fork rpc from piccolo and convert boost to std