Optimizing performance of HTTP requests handling.

Signed-off-by: Simon Stewart <simons@fb.com>
Optimizing performance of generation random UUIDs.

No more usage of UUID.randomUUID() - it leads to initialization of the java.security.SecureRandom, which can be really slow.

Signed-off-by: Simon Stewart <simons@fb.com>