Allow to bind to port 0 and receive a random port. Fixes #347.
Merge pull request #348 from bastih/feature/bind_to_zero

Allow to bind to port 0 and receive a random port. Fixes #347.