finished implementing multi server support on client side, not tested yet