add Message#Keys
set realm as return_to if realm is not set
add some methods of Response
follow new spec