fix some ide warnings
add Resty.php. A simple  HTTP Client Library.