Update DefaultHttpConnection.java

Now notifying listeners of connection terminated if the local socket throws an exception.