added support for ip addresses without protocol