Integrated ws server into http server