FIX: httpFlush to only initiate flushing

httpFlushAll - new API to block and wait for flushing.