Program to test Java7 async socket