support options.withHeader, handle c++ format
Release 0.6.0-beta3