Fixed segfault at connection to elder servers