Fixed #1047: Use port '0' for networking when using one locality
More improvements in future<R&> support