Merge IPv4 and IPv6 createServer setup

Bind to all interfaces on both IPv4 and IPv6.
Before this commit, the default behaviour was to bind to all IPv4 interfaces,
though only the local ::1 interface on IPv6.
Merge pull request #100 from ruudud/master

Merge IPv4 and IPv6 createServer setup