Lowercased class name.
Changed client to try to keep connection alive by default.
Fixed bug in disconnect function.

Disconnect will now always properly close both the socket and the psuedo-file
object even if the connection was broken at some point.