pocket_impl: include cstdint so MSVC can use uint8_t,uint16_t