fixed warning
refactor
reuse headers
recorder key gen
refactor status code check
retried
add shared instance
merge from master