[FEATURE] Add Resource::createFromRequest() method

One possible use case is to send custom headers with the request.