Working on MtGox support. Added disconnection detection.