Support selection of private ip

When operating in a VPC environment, in which the security group does not allow access via SSH to the external IP address of an instance, it is necessary to be able to enforce the use of the private IP address.

This patch makes a config setting available to the EC2 driver which defaults to 'public' but which may be set to 'private'.