server is now part of a class again, tackled segfault for good, but
program crashes at exit :-(