nghttpx: Call upstream_writecb when underlying bufferevent buffer gets empty