lib: wrap shared_ptr<> in a typedef as SocketDataHandlerPtr