fix createLayeredSocket

This allows ClientConfiguration proxy settings to be used with
-Dcom.amazonaws.sdk.disableCertChecking
Merge pull request #127 from jcopenha/master

Allow ClientConfiguration proxy settings to be used with -Dcom.amazonaws.sdk.disableCertChecking