Adding ASocket ctor and dtor