Change endpoint config option to be (optional) full hostname, add region config option

This lets you use current with other endpoints than AWS proper.

Note that this change is not backwards compatible though!