removed https related configuration from socket