Add a new method 

```ruby
def host
    host = datastore['RHOST']
    host += ":" + datastore['RPORT'].to_s if datastore['RPORT'] != 80
    return host
end
```ruby

So host can be referenced later from the run method too