allow null bucket port

Change-Id: Ia8a8b846123c71adab903de7f78b1eec305edd53
Reviewed-on: http://review.couchbase.org/23824
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>