Bug fix in HttpSender