client-server connnection working, save random segfaults