fix local transport not returning responses properly