Compile scope for apache http client