constness added on catch in Socket*