Adding curl error exception

Adding curl error exception based on task https://beepsend.atlassian.net/browse/BE-135
Yes, we can have ConnectionException. I will add it later.