MessageEnvelop Constructor

Added MessageEnvelop constructor and repaired one bug in
serverthread.cpp