Finding accounting hash by key, de-pointerizing accounting_id and adding...

... accounting ids dynamically
r->uri.len -1 could be more than 256, right?