New socket and exceptions