Implemented address storage in socket class