Add keepalivePeriod DSN option, tests, and documentation.