[Communication] Move BaseSocketCommunication destructor to header to fix C++20 compilation
#375
+13
−15