added readline methods to response object