Added config option for KeepAlive

Signed-off-by: Davy Vanherbergen <davy.vanherbergen@gmail.com>