loop over netstrings from bufferevent