Update RestfulHttpAdapter.php