Not sure if would be a good idea just return the payload, but not the encoded_payload, because there are exploits, for example java ones, which would like to do something like:

```ruby
    p = get_payload(cli, target_info)
    jar  = p.encoded_jar

```