Fixed reconnect bug

-Fixed reconnect bug
-Added handshake handling into ManipulateBuffer
-Added ClientTest project