Add proper WARC API + support by wget2
Most code can be taken from Wget code. It should be polished (thread-safe, proper API for use by external applications).
Maybe this should go into a separate library / project with some tools to be created (creation, modification, querying of WARC archives).