bug fix in rest_proxy.php to handle HTTP/100