Prefer literal array and hash creation notation

```ruby
host_port = []
```

For style guidelines please check https://github.com/bbatsov/ruby-style-guide, even when we don't enforce the guide, it's a good idea to try to follow it, specially for the small things.