Adding tests and changes to reject more than one endpoint with same path and port if one for 0.0.0.0 exists.