FIX: socket unit test. Prefer HTTP