Fix test 10 in sockets for JVM and Parrot