Initial raw implementation of ClientHandler