Use NDR 32bit syntax.

Compatible with both x86 and x64 systems.
Tidy up the module...
Randomize client variables

Also tidyup indents and use predefined UUID syntax.
Dont define the NDR syntax
Ensure TCP connection is closed
Land #2511, fix up NoMethodError and hanging connx