Add and use a count-enforcing hashmap for streammap.rs
In streammap.rs, after !2047 (merged), we keep a count of open streams. But the code to keep the count accurate is a little tricky; we might be better off having a hashmap that only has the job of keeping the count accurate, and letting the rest of the streammap.rs code use that.