improve http_client import and fix gs/bucket.configure_versioning
adjust string encodings