Updated library to handle SSL-Issues