-Added keep alive config option
-Added support for keep alive sessions. Closed #2