rest_proxy.php fix for handling HTTP/100