FIX: high CPU usage for large SSL requests
TEST: update unit tests