Reformatting spaces
Allowing root user to run Shock server as another user via setuid and setgid
Testing to make sure that server is reachable before attempting to setgid and setuid