message: src/net.cpp: endian compatibility in EndMessage
  backports bitcoin@dec84cae2a7534af95873d5d96e38ad96b447d52
diff: #include "addrman.h"
  #include "chainparams.h"
  #include "clientversion.h"
  +#include "crypto/common.h"
  #include "guiinterface.h"
  #include "main.h"
  #include "miner.h"
  @@ -2215,7 +2216,7 @@ void CNode::EndMessage() UNLOCK_FUNCTION(cs_vSend)
  // Set the size
  unsigned int nSize = ssSend.size() - CMessageHeader::HEADER_SIZE;
  - memcpy((char*)&ssSend[CMessageHeader::MESSAGE_SIZE_OFFSET], &nSize, sizeof(nSize));
  + WriteLE32((uint8_t*)&ssSend[CMessageHeader::MESSAGE_SIZE_OFFSET], nSize);
  // Set the checksum
  uint256 hash = Hash(ssSend.begin() + CMessageHeader::HEADER_SIZE, ssSend.end());
  