Add handling of full response buffer in Lua binding.