* Added header file for porty.c
* Fixed error handling for curl web_request