[BUILD] Randomize JVM heapsize between 512 and 1024m
Dependencies: Upgrade to Apache HttpComponents client 4.3.5

Closes #7342