httpstream.cpp cleanup, added back functionality lost during the merge
renamed ringbuffer.h to ringbuffer_queue.h as it reflects better the purpose of the code
added a fisrt cut for ringbuffer implementation