Add read_from_head config paramter to in_tail plugin.