fix bug 1039782 - make it possible to omit host/port to work in AWS S3