Use opts for hostname and port and some other improvements
Set version to 1.4.0
Use `InetAddress.getLocalHost.getHostAddress` instead of 127.0.0.1 as default
Set version to 1.5.0