Connect via socket
Try to make it work without the hack