Setting default values for host and port in Socket class.