enable TCP_NODELAY and SO_KEEPALIVE options
upgrade netty to 4.0-beta-1 and fix compile error caused by this upgrade
1. Add unit test for OpeningStreamState.\n
2. when receiving incoming stream, only checks namespace but not check the prefix of stream
1. Add test for StartTLSState.\n
2. refactor the State test layer
compare both tag name and namespace of Stream element
1. add success test for SASLState.\n
2. if the initial entity send non PLAIN mechanism, throw an exception
1. Add SASLError\n
apply approriate SASLError
add test for sasl negotiation failure case
add test for ResourceBindState
test invalid xml for ResourceBindState