fixed concurrent modification exception
added support for caching
added support for caching
fixed issue with directory copy: do not copy whole directory, only
create it
added support for HTML -> replace head with proper tomp2p head