support custom client server