added peer wire protocol (wire.h), added filesystem::file class, more metadata extract functions