add max_connection_limit and sock list of client in LocalSockManager
add ChunkSelector to select next piece to download.