Very basic HTTP client which sends keep alives for long polling.