Drop privileges

I added a configuration option "user", and modified the agent to drop privileges to this user after starting the thread.
Dropping privileges of a daemon to non-root is essential for security reasons.