Further fake_socket enhancement.