Added 'params' and 'headers' to interface and resty adapter.