Implement and test extmap.
Fix potential UAF set up by RemoveAttribute.
Merge pull request #121 from docfaraday/multistream_unit_tests

Implement and test extmap.