fix environment packet header length
switch back to statics for domain server check in, fix environment packets
Merge pull request #654 from birarda/master

fix environment packet sending