Changing iostream buffer to use std::vector instead of std::deque.

This fixes an error reported by the gnu C++ standard library debug mode.
Attempt to fix #1065: AGAS cache isn't used/populated on worker localities

Disable a check so that local ids are inserted into the caches.