Fix the irc_reply event for certain server message types.
Fixed Segmentation fault in SQLite Writer.

Segmentation fault caused by accessing fields with pos which is
one-based for setting SQLite field values. Fix is to simply subtract one
from pos. Discovered when trying to store HTTP traffic to a SQLite
database with the following Bro script:

event bro_init() {
  local filter: Log::Filter = [
    $name = "sqlite",
    $path = "http",
    $config = table(["tablename"] = "http_logs"),
    $writer = Log::WRITER_SQLITE
  ];

  Log::add_filter(HTTP::LOG, filter);
}
Add minimal testcase for sqlite writer crash.

The writer did not work with a non-empty set or vector
as the last element in the logged column.
Merge remote-tracking branch 'origin/topic/bernhard/ticket1094'

* origin/topic/bernhard/ticket1094:
  Add minimal testcase for sqlite writer crash.
  Fixed Segmentation fault in SQLite Writer.

BIT-1094 #merged
BIT-1095 #comment Add to 2.2.1
Merge remote-tracking branch 'origin/fastpath'

* origin/fastpath:
  Fix the irc_reply event for certain server message types.