Add railtie to auto load middleware in rails apps.
* Improve remote error handling by providing caused by remote error chain.
* Switch parameter transport to JSON body to fix param transport problems.