fixed incoming chunk callback return value, added license