make draft implementation of S3-connectivity.
This code does nor work still - ECONNREFUSED.