style: inline all request::perform functions

This reduces both library binary size and application size.

In addition, request.h can be used separately (it includes full
response definition instead of forward declaring it).