bind to IPv6 socket by default

On Linux, this is also backwards-compatible and allows users to connect overIPv4
at the same time. Anyway, there shouldn't be many OSes that don't support IPv6
yet, and if there are, they are probably uninteresting.
Merge pull request #2 from rohieb/patch/ipv6

bind to IPv6 socket by default