Removed deque usage in IOStream and httputil.