fix the bug that HttpSender doesn't use host and port specified as argum...

HttpSender doesn't use host and port specified as arguments