Create bytestream_queue class to be used in http_proxy and dns_proxy (TCP)