Fix syntax errors
Use node[:ipaddress] if `addr` or `peer_addr` is omitted
Merge pull request #24 from horkhe/master

Use node[:ipaddress] for `addr` and `peer_addr` if not explicitly provided
update rubocop