Server modify tcp connection and client device configuration