properly delete the connection object
properly delete the connection object

this properly gets rid of the connection object in the static API methods

embeddedmz/restclient-cpp,embeddedmz/restclient-cpp,mrtazz/restclient-cpp,mrtazz/restclient-cpp