reorders attributes for user and group

socket user and group rely on these values so it makes sense to define them
before using them ( ruby evaluates files top to bottom ).
Merge branch 'fix/stats_socket' into patched