[1.4] Send proper message length to the packet

Send proper message length to the packet