MB-9757: Use default port if no port number provided

Change-Id: I05371ca3b0f735152fa291259a6af91249967713
Reviewed-on: http://review.couchbase.org/31271
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>