removed settings struct and libev from ws client struct