updated socket to point to url
added an ssl for https
added key.pem