Straight import from http://www.conserver.com/
Fix a memleak

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Implement power control commands

This work is done by Anton Lundin <glance@acc.umu.se>,
but based on work done by Bill Peck <bpeck@redhat.com>

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Implement auth via so-peercred

Signed-off-by: Anton Lundin <glance@acc.umu.se>