client.property(ClientProperties.CONNECT_TIMEOUT, 2000)
.register(new MoxyJsonFeature())
.register(HttpAuthenticationFeature.basic(App.getTwitterUserName(), App.getTwitterUserPassword()))
.register(GZipEncoder.class);
final Response response = client.target("https://stream.twitter.com/1.1/statuses/filter.json")
.queryParam("track", keywords)
// .queryParam("locations", "-122.75,36.8,-121.75,37.8") // San Francisco
.request(MediaType.APPLICATION_JSON_TYPE)
.header(HttpHeaders.HOST, "stream.twitter.com")
.header(HttpHeaders.USER_AGENT, "Jersey/2.0")