put a buffer in front of http requests