added method for determining the number of CPU's cores
http framework refactoring to improve performance and scalability
Merge branch 'master' into http
now AyncHttpClient default thread pool size = CPU's num cores * 4
Merge branch 'http'