allow port 0 - fixes #17