freerds: add support for resizing on reconnect