Problem: Wrong socket type on client, solution: changed socket type