EC2 endpoint configurable

Supports using implementations of EC2 API on other than Amazons endpoints.