Immediately convert j.n.SocketException to IOError

References #48.