dont used reserved var name
add a client-side command packing function

also add a pad argument to the old packCommand
export sockethandler
add a global mock shmender module

want to make it easy to shim the environment and run shmender against
test data