Tolerate server addresses w/o a port number

Silence an annoying "Notice: Undefined offset: 1" message.

Change-Id: I058182e46080baecaf594af0b394b27b5bba8c14