Core/Socket: Fix typo in constructor

Using moved objects is generally a bad idea

Thanks @Daejiv

Closes #12800
Tools/MMAPs: Fix uninitialized value in mmap_generator

Fix uninitialized value in mmap_generator. This fixes mmaps_generator broken in some build configurations.
Fixes #12644
Core/Misc: Remove unused variable
Core: Fix build for vs2014
Revert "Core: Fix build for vs2014"

This reverts commit e3034511890f4c918d758a6b6b239c14f10b75e2.
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore