add the server loop as a service and add a new parameter keepalive
add the new config option
add the new config option
ping the server periodically to keep the connection open
Merge pull request #32 from Eluinhost/bugfix/doctrinetimeout

FIx datavase connection timeouts