don't require a port-declaration in validating an URL when an IP address is given, fixes #1179

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>