Emptyline to be determined by strlen(line) == 0 since iobuf strips
'\n'.  Some whitepsace fixes.