Separated handshake; Added chunked request support