Closing the socket on stop
Properly closing the server
privilege and auto update settings added
auto update service added
optional auto update service added