Add junt test for web scoket.

refers to:
http://my.safaribooksonline.com/book/programming/java/0596003870/junit/jextprockbk-chp-4-sect-15#X2ludGVybmFsX0h0bWxWaWV3P3htbGlkPTAtNTk2LTAwMzg3LTAlMkZqZXh0cHJvY2tiay1jaHAtMSZxdWVyeT0=