add --keep-connection and --full-stream options