Added socket handler
Test 1. Frozen