added licence header and better error handling @CustomSSLSocketFactory
replaced slf4j-android with a more lightweight lib+slf4j-api makes it easier to omit all logging