Add resume_key support

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>