iostream.py: Friendlier events error messages.
connection.py: Closes connection if HTTP Connection is close.
iostream.py: Adds functions to monitor for socket close.
connection.py: Monitors for stream close.