renamed open/close methods to connectToHost/disconnectFromHost (to mirror Qt socket API), added the first auto tests!