fix bug with incorrect checksum at local repo;
deep refactor of request mechanism (both as3 and js parts);