ssl: improve error speccing
tcp: improve error handling
udp: improve error handling
socket: remove now useless exception