Support alternate HTTP port for streaming API and async API.

This change uses the service endpoint URL's port when generating URLs to use for the streaming API and for the Async API.

Also, it includes some spelling fixes and an added test for the UpsertBulk operation.