Adapt to modified libinfinity API
Enable TCP keepalives (#11)

This commit makes use of the new TCP keepalive functionality in
libinfinity. The settings are stored in the preferences, however there is no
user interface to change the keepalive settings. However, they can be
changed in the Gobby configuration file.