handshake uses $resource-esque response